package com.lgy.ms.service.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Gylin
 */
@Controller
@RequestMapping("/")
public class IndexController {

    /**
     * 官网首页
     */
    @RequestMapping("")
    public String toIndex(Model model) {
        return "index";
    }

    @RequestMapping("login")
    public String login(Model model) {
        return "login";
    }

    @RequestMapping("user/modifyPwd")
    public String modifyPwd(Model model) {
        return "user-password";
    }
}
